package com.git.smp.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.git.smp.entity.SmpConsume;
import com.git.smp.entity.SmpConsumeKey;

public interface SmpConsumeMapper {
	
    int deleteByPrimaryKey(SmpConsumeKey key);

    int insert(SmpConsume record);

    int insertSelective(SmpConsume record);

    SmpConsume selectByPrimaryKey(SmpConsumeKey key);

    int updateByPrimaryKeySelective(SmpConsume record);

    int updateByPrimaryKey(SmpConsume record);
    
    List<SmpConsume> getConsumeInfo(SmpConsume record);
    
    int getId();
    
    int deleteByKey(SmpConsumeKey key);
    
    int serviceUpdate(SmpConsume record);
}